package relu.R.weeds;
import jfm.model.Types.CropType;

/** IFS Crop codes (grouped) corresponding to CropType's in JFM*/
public enum CropGroup {
	WW1(new CropType[]{CropType.WINTERWHEAT},new int[]{1}),
	WW2(new CropType[]{CropType.WINTERWHEAT},new int[]{2}),
	SPRCER(new CropType[]{CropType.SPRINGWHEAT,CropType.SPRINGBARLEY},new int[]{3,5}),
	WBAR(new CropType[]{CropType.WINTERBARLEY},new int[]{4}),
	OSR(new CropType[]{CropType.WOSR,CropType.SOSR},new int[]{6,7}),
	PEASBEANS(new CropType[]{CropType.DRIEDPEAS,CropType.WINTERBEANS,CropType.SPRINGBEANS,CropType.SUGARBEET},new int[]{8,9,10}),
	LINSEED(new CropType[]{CropType.LINSEED},new int[]{11}),
	SETASIDE(new CropType[]{CropType.SETASIDE},new int[]{12}),
	POTATOES(new CropType[]{CropType.WAREPOTATOES},new int[]{13});
	
	
	public final CropType[] jfmTypes;
	public final int[] ifsCodes;
	private CropGroup(CropType[] type_,int[] codes){
		jfmTypes=type_;
		ifsCodes=codes;
	}
}
